package com.jason.quectel.bean;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * @author：Jason
 * @date：2022/3/10 15:28
 * @email：1129847330@qq.com
 * @description:
 */
@Entity(tableName = "province")
public class Province {
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo
    public int id;
    @ColumnInfo
    public String name;
    @ColumnInfo
    public int cityCount;

    @Override
    public String toString() {
        return "Province{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", cityCount=" + cityCount +
                '}';
    }
}